
<?php  foreach ($homemessage['statuses'] as $key => $value) : ?>
<div class="message">
<a href="<?php echo $this->create_url('sina/details') ;?>?height=500&width=700&mid=<?php echo $value['bmiddle_pic'];?>" title="查看微博" class="thickbox">
<div class="messageimage">
	<?php if(!empty($value['bmiddle_pic'])): ?>
		
		<img src="<?php echo $value['bmiddle_pic'];?>" alt="" >
	<?php endif; ?>
</div>
<div class="headerimg">
	<img src="<?php echo $value['user']['profile_image_url'] ?>" alt="" class = 'messageheader'>
	<span><?php echo $value['user']['screen_name'] ?></span>
</div>
<div class = "messagecontentinside"><?php echo $value['text'] ?></div>
</a>
</div>
<?php endforeach; ?>
